package com.rybbaby.tss.front.tssPayment.entity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * @description 收支流水
 *
 * @author 何朝一
 *
 * @createDate 2017年11月26日17:02:46
 */
@Entity
@Table(name = "view_payment_refund_turnover")
@DynamicUpdate(true)
@DynamicInsert(true)
public class ViewPaymentRefundTurnover implements Serializable {


    private static final long serialVersionUID = -4615993024796937619L;
    /** 主键 **/
    private String id;
    /** 缴费日期 **/
    private java.sql.Timestamp paymentTime;
    /** 定金总额 **/
    private Double sumDeposit;
    /** 亲子收入 **/
    private Double sumParentingPayment;
    /** 过渡收入 **/
    private Double sumTransitionPayment;
    /** 其他收入 **/
    private Double sumOther;
    /** 总收入额 **/
    private Double sumPaymemtAmount;
    /** 退费日期 **/
    private java.sql.Timestamp refundTime;
    /** 订金退费 **/
    private Double sumRefundDeposit;
    /** 亲子退费 **/
    private Double sumParentingRefund;
    /** 过渡退费 **/
    private Double sumTransitionRefund;
    /** 其它退费 **/
    private Double sumRefundOther;
    /** 总退款额 **/
    private Double sumRefundAmout;
    /** 合计收入 **/
    private Double totalIncome;


    @Id
    @GeneratedValue(generator = "view_payment_refund_turnoverIDGenerator" , strategy = GenerationType.AUTO)
    @GenericGenerator(name = "view_payment_refund_turnoverIDGenerator" , strategy = "uuid")
    @Column(name = "id", nullable= false, length = 17)
    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Column(name = "paymentTime", nullable= true, length = 32)
    public Timestamp getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Timestamp paymentTime) {
        this.paymentTime = paymentTime;
    }

    @Column(name = "sumDeposit", nullable= true, length = 32)
    public Double getSumDeposit() {
        return sumDeposit;
    }

    public void setSumDeposit(Double sumDeposit) {
        this.sumDeposit = sumDeposit;
    }

    @Column(name = "sumParentingPayment", nullable= true, length = 32)
    public Double getSumParentingPayment() {
        return sumParentingPayment;
    }

    public void setSumParentingPayment(Double sumParentingPayment) {
        this.sumParentingPayment = sumParentingPayment;
    }

    @Column(name = "sumTransitionPayment", nullable= true, length = 32)
    public Double getSumTransitionPayment() {
        return sumTransitionPayment;
    }

    public void setSumTransitionPayment(Double sumTransitionPayment) {
        this.sumTransitionPayment = sumTransitionPayment;
    }

    @Column(name = "sumOther", nullable= true, length = 32)
    public Double getSumOther() {
        return sumOther;
    }

    public void setSumOther(Double sumOther) {
        this.sumOther = sumOther;
    }

    @Column(name = "sumPaymemtAmount", nullable= true, length = 32)
    public Double getSumPaymemtAmount() {
        return sumPaymemtAmount;
    }

    public void setSumPaymemtAmount(Double sumPaymemtAmount) {
        this.sumPaymemtAmount = sumPaymemtAmount;
    }

    @Column(name = "refundTime", nullable= true, length = 32)
    public Timestamp getRefundTime() {
        return refundTime;
    }

    public void setRefundTime(Timestamp refundTime) {
        this.refundTime = refundTime;
    }

    @Column(name = "sumRefundDeposit", nullable= true, length = 32)
    public Double getSumRefundDeposit() {
        return sumRefundDeposit;
    }

    public void setSumRefundDeposit(Double sumRefundDeposit) {
        this.sumRefundDeposit = sumRefundDeposit;
    }

    @Column(name = "sumParentingRefund", nullable= true, length = 32)
    public Double getSumParentingRefund() {
        return sumParentingRefund;
    }

    public void setSumParentingRefund(Double sumParentingRefund) {
        this.sumParentingRefund = sumParentingRefund;
    }

    @Column(name = "sumTransitionRefund", nullable= true, length = 32)
    public Double getSumTransitionRefund() {
        return sumTransitionRefund;
    }

    public void setSumTransitionRefund(Double sumTransitionRefund) {
        this.sumTransitionRefund = sumTransitionRefund;
    }

    @Column(name = "sumRefundOther", nullable= true, length = 32)
    public Double getSumRefundOther() {
        return sumRefundOther;
    }

    public void setSumRefundOther(Double sumRefundOther) {
        this.sumRefundOther = sumRefundOther;
    }

    @Column(name = "sumRefundAmout", nullable= true, length = 32)
    public Double getSumRefundAmout() {
        return sumRefundAmout;
    }

    public void setSumRefundAmout(Double sumRefundAmout) {
        this.sumRefundAmout = sumRefundAmout;
    }

    @Column(name = "totalIncome", nullable= true, length = 32)
    public Double getTotalIncome() {
        return totalIncome;
    }

    public void setTotalIncome(Double totalIncome) {
        this.totalIncome = totalIncome;
    }

}